﻿using Core.Framework.Model.Common;
using System;
using System.Collections.Generic;
using System.Text;
using Core.DataAccess.Model.Projects;

namespace Core.IBusiness.IProjectModule
{
    /// <summary>
    /// 项目API服务接口管理
    /// </summary>
    public interface IProjectApiService
    {

        /// <summary>
        /// API服务操作
        /// </summary>
        /// <param name="model">实体内容</param>
        /// <param name="sqlExecType">操作类型</param>
        /// <returns></returns>
        MethodResult<int> ProjectApiServiceExec(ProjectApi model, SqlExecType sqlExecType);

        /// <summary>
        /// 获取指定Api信息
        /// </summary>
        /// <param name="key">API关键字</param>
        /// <returns></returns>
        MethodResult<ProjectApi> GetProjectApiService(int key);


    }
}
